package org.embedchat.database.nodb;

import org.embedchat.database.ChatRoomDAOInterface;
import org.embedchat.database.DAOFactoryInterface;
import org.embedchat.database.UserDAOInterface;

public class DAOFactory implements DAOFactoryInterface {

	private int counter = 0;
	
	public UserDAOInterface getUserDAO() {
		return new UserDAO(counter++);
	}

	public ChatRoomDAOInterface getChatRoomDAO() {
		return new ChatRoomDAO();
	}

}
